/*package main

import "github.com/gin-gonic/gin"

func TestQueryString(c *gin.Context) {
    username := c.Query("username")
	site := c.DefaultQuery("site","www.baidu.com")
	c.String(200,"username:%s, site:%s",username,site)
}


func TestPathParam(c *gin.Context){
	name := c.Param("name")
	age := c.Param("age")
	c.String(200,"name:%s, age:%s",name,age)

}
func main() {
//http://localhost:8090/testQueryString?username=yyqx
	e := gin.Default()
	e.GET("/testQueryString",TestQueryString)
	e.GET("/testPathParam/:name/:age",TestPathParam)
	
	e.Run(":8040")
}